package com.liuhouse1.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

@Controller
public class JspJarController {

    @RequestMapping("/main_page")
    public ModelAndView main_page(){
        ModelAndView view = new ModelAndView();
        view.addObject("data" , "项目已经成功打包为jar，并且已经成功运行");
        view.setViewName("main");
        return view;
    }

}
